window.addEventListener('load',function(){
    let onlist=document.querySelectorAll(".on ul li");
    let ari=document.querySelectorAll(".ari>div")
    console.log(onlist,ari);
    onlist.forEach(function(v,i){
        v.addEventListener('click',function(){
        for (let j = 0; j < onlist.length; j++) {
            onlist[j].classList.remove('active');  
ari[j].classList.remove('arise');
        }
v.classList.add('active');
ari[i].classList.add('arise');
    })
})
})